#pragma once

#include <sys/types.h>
#include <dirent.h>
#include <iostream>
#include <vector>
#include <string>

class DirectoryScanner
{
public:
    // 遍历整个文件夹，得到所有文件名
    static std::vector<std::string> scan(const std::string &dir);

private:
    DirectoryScanner() = delete;
};